package com.fenghuajueli.libbasecoreui.upload

import okhttp3.RequestBody
import retrofit2.http.*

interface UploadService {

    @POST("xm_convert_data")
    suspend fun uploadDataToSelfService(@Body postBody: RequestBody): Any

    /**
     * vivo归因参数上传
     */
    @POST("vivo_convert_data")
    suspend fun uploadVivoDataToService(@Body postBody: RequestBody): Any

    /**
     * oppo归因参数上传
     */
    @POST("convert_data")
    suspend fun uploadOppoDataToService(@Body postBody: RequestBody): Any

    /**
     * oppo归因参数上传
     */
    @POST("user_monitor_oppo")
    suspend fun userMonitorOppo(@Body postBody: RequestBody): Any

    /**
     * 穿山甲归因参数上传
     * 这个是上传到穿山甲服务器的
     */
    @Headers("Content-Type:Application/json")
    @POST("android?")
    suspend fun uploadDataToCsjService(@Query("pg_site_id") pgSiteId: String, @Query("signature") signature: String, @Body postBody: RequestBody): Any
}
